
	<include file="Common@Public:header"/>
	
		<div class="d-public-nav22">
			<div class="d-public-nav-122">
				<include file="Common@Public:nav"/>
			</div>
			
		</div>
	</div>

<div class="sub">
    <div class="subzuo">
<div class="biaoti">
      <div class="biaoti1"><a>会员登录</a></div>
            <div class="biaoti2">当前位置：{:get_posation($category['id'])}会员登录</div>
        	<div class="clearfix"></div>
        </div>
        
        	
         
			<div class="personal_z">
				<form action="__SELF__" method="post" class="am-form am-form-horizontal">
					 <table width="814" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#f5f5f5">
                 <td width="166"  align="left" bgcolor="#ffffff">
                <span style="color: red">&nbsp; </span>登录账号</td>
                <td height="35" colspan="3" align="left" bgcolor="#FFFFFF"><label for="username"></label> 
                <input name="username" type="text" id="username"  style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;"  placeholder="请输入用户名"  ajaxurl="/member/checkUserNameUnique.html" errormsg="请填写1-16位用户名" nullmsg="请填写用户名" datatype="*1-16" value="" size="30"/></td>
               </tr>
               <tr>
               <td align="left" bgcolor="#FFFFFF">
              <span style="color: red">&nbsp; </span>输入密码</td>
               <td height="35" align="left" bgcolor="#FFFFFF" colspan="3" >
               <input   style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left;"  type="password" placeholder="请输入密码"  errormsg="密码为6-20位" nullmsg="请填写密码" datatype="*6-20" name="password" size="30"/></td>
               </tr>
             
               
                  <tr>
                                                        <td align="left" bgcolor="#FFFFFF"><span style="color: red">&nbsp; </span>验证码</td>
                                                        <td width="200" height="60" align="left" bgcolor="#FFFFFF">&nbsp;&nbsp;<img class="verifyimg reloadverify" alt="点击切换" src="{:U('verify')}" style="cursor:pointer; height:36px; "></td>
                                                        <td width="130" align="left" bgcolor="#FFFFFF"><input   name="verify"  placeholder="请输入验证码"  errormsg="请填写5位验证码" nullmsg="请填写验证码" datatype="*5-5"   id="verify"   size="6" maxlength="4"  this.style.background="#ffffff" style=" margin-left:8px; display:inline; border:1px solid #CCC; float:left; width:100px; height:26px;"/></td>
                                                        <td width="313" align="left" bgcolor="#FFFFFF" >&nbsp;&nbsp;<a href="/User/Members/fogot.html">忘记密码</a> <a href="/User/Members/drsj.html">导入数据</a><a href="/User/Members/drhy.html">导入会员</a></td></tr>
        <tr>
         <td height="60" colspan="4" align="center" bgcolor="#FFFFFF"><input name="Register" type="hidden" id="Register" value="regnow" /><input type="submit" name="submit" id="submit" value="&nbsp;会员登录&nbsp;" /></td>
         </tr>
          </table>
				</form>
		</div>
			<div style="clear: both;"></div>
		
		</div>


<script type="text/javascript">
	$(document)
		.ajaxStart(function(){
			
			$("button:submit").addClass("am-btn-loading").attr("disabled", true).text('loading...');
		})
		.ajaxStop(function(){
			
			$("button:submit").removeClass("am-btn-loading").attr("disabled", false).text('注 册');
		});


/*	$("form").submit(function(){
		var self = $(this);
		$.post(self.attr("action"), self.serialize(), success, "json");
		return false;

		function success(data){
			if(data.status){
				window.location.href = data.url;
			} else {
				self.find(".Validform_checktip").addClass('am-alert').text(data.info);
				setTimeout(function(){
					self.find(".Validform_checktip").removeClass('am-alert').text('');
				},3000);
				//刷新验证码
				$(".reloadverify").click();
			}
		}
	});*/

	$(function(){
		var verifyimg = $(".verifyimg").attr("src");
        $(".reloadverify").click(function(){
            if( verifyimg.indexOf('?')>0){
                $(".verifyimg").attr("src", verifyimg+'&random='+Math.random());
            }else{
                $(".verifyimg").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
            }
        });
	});
</script>

          
        </div>
    </div>
    <php>if(!is_login()){</php>
     <include file="Common@Public:left"/>
    <php>}else{</php>
     <include file="Common@Public:userleft"/>
    <php>}</php>
    
    
    <div class="clearfix"></div>
</div>

	<!-- 公共底部 -->
	<include file="Common@Public:footer"/>
</body>
</html>


